<% @page_title = 'Profile' -%>

<%= error_messages_for 'user' %>

<% form_for :user do |f| -%>
<div class="form">
  <h2>Details</h2>

  <div class="row">
    <label>Firstname</label>
    <%= f.text_field :firstname, :class => 'field' %>
  </div>
  
  <div class="row">
    <label>Lastname</label>
    <%= f.text_field :lastname, :class => 'field' %>
  </div>
  
  <div class="row">
    <label>Email</label>
    <%= f.text_field :email, :class => 'field' %>
  </div>

  <div class="row">
    <label>Username</label>
    <%= f.text_field :username, :class => 'field' %>
  </div>

  <div class="row">
    <label>Password</label>
    <%= f.password_field :password, :class => 'field' %>
  </div>
  
  <div class="row">
    <label>Password Confirmation</label>
    <%= f.password_field :password_confirmation, :class => 'field' %>
  </div>

  <%= submit_tag 'Login', :class => 'submit' %>
</div>
<% end -%>
